import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// icon图标 导入所有图标并进行全局注册。
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// 重置css样式
import 'normalize.css'
import store from './store/index.js'; // 存储登录后用户消息


const app = createApp(App)
// console.log(123456);

app.use(router)
app.use(ElementPlus)
app.use(store)

// icon图标 全局注册
// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//     app.component(key, component)
//   }

app.mount('#app')
